package com.softstao.guoyu.mvp.interactor;

import com.softstao.guoyu.global.APIInterface;
import com.softstao.guoyu.model.DirectlyList;
import com.softstao.guoyu.utils.MyHttpParams;

import rx.functions.Action1;

/**
 * Created by vaikus on 2017/6/13.
 */

public class IsCompleteInteractor extends BaseInteractor {
    public void isComplete(int agentId, Action1<Object> action1){
        MyHttpParams params = new MyHttpParams("agentId",agentId);
        builder.setAction(action1)
                .setUrl(APIInterface.IS_COMPLETE)
                .setType(DirectlyList.class)
                .getVolley()
                .post(params);
    }
}
